package kr.saeildamil.androidstudy_second.fragment;

import kr.saeildamil.andrordstudy.second.R;
import android.app.Activity;
import android.os.Bundle;

public class FragmentMgn extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch20_fragmentmgn);
		/*방법 6 액티비티가 프래그먼트의 핸들러 설치 */
/*		Button btnIncrease = (Button) findViewById(R.id.counterfragment_btn);
		final TextView textCounter = (TextView) findViewById(R.id.counterfragment_txtcounter);
		btnIncrease.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				int count = Integer.parseInt(textCounter.getText().toString());
				textCounter.setText(Integer.toString(count+1));
			}
		});*/
	}
}
